package com.scau.meetingbook.mapper;

import com.scau.meetingbook.pojo.RoomReservations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 会议室预定表 Mapper 接口
 * </p>
 *
 * @author scau
 * @since 2025-06-07
 */
public interface RoomReservationsMapper extends BaseMapper<RoomReservations> {

    List<RoomReservations> selectExpiredReservations(
            @Param("status") String status,
            @Param("currentTime") Date currentTime
    );
}
